package com.spzx.product.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spzx.product.domain.Brand;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

//@Mapper
public interface BrandMapper extends BaseMapper<Brand> {
    List<Brand> selectRoleList(Brand brand);

    Brand checkRoleNameUnique(String name);

    int insertBrand(Brand brand);

    int updateBrand(Brand brand);

    int removeBrandsById(List<Long> brandIds);



/*    Brand checkBrandNameUnique(String name);

    int insertBrand(Brand brand);

    int updateBrand(Brand brand);*/

}
